<?php
namespace Admin\Controller;
use Think\Controller;
class IndexController extends CommonController {
    public function index(){
        $category_count = M('Category') -> count();
        $data_count = M('Data') -> count();
        $this -> assign('category_count',$category_count);
        $this -> assign('data_count',$data_count);
        $this -> display();
    }

    public function home(){
        //$this -> display();
    }
}